<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>扩展运算符</title>
	</head>
	<body>
		<script type="text/javascript">
			/*
			 * [...]扩展运算符能将[数组]转化为逗号分隔的[参数序列]
			 * 声明一个数组
			 */
			const tfboys=['易烊千玺','王源','王俊凯'];
			//=>'易烊千玺','王源','王俊凯'
			//声明一个函数
			function chunwan(){
				console.log(argumens);
			}
			chunwan(...tfboys);
		</script>
	</body>
</html>
